cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
project(platform LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)

add_executable(platformhello main.cpp)

message(STATUS "SYSTEM: ${CMAKE_SYSTEM_NAME}")

if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
  target_compile_definitions(platformhello PUBLIC "IS_WINDOWS")
  # add_definitions(-DIS_WINDOWS -DWIN_MAKE)
endif()
